package com.tengju.user.domain.model.archive.resume;

import com.tengju.user.domain.shared.JsonFields;
import com.fasterxml.jackson.annotation.JsonValue;

public enum SelfMediaType implements JsonFields {

    XIAOHONGSHU("xiaohongshu", "小红书账号"),
    DOUYIN("douyin", "抖音账号"),
    GONGZHONGHAO("gongzhonghao", "公众号"),
    WEIBO("weibo", "微博账号"),
    BZHAN("bzhan", "B站账号"),
    OTHERS("others", "其他账号"),
    ;

    private String val;
    private String desc;

    SelfMediaType(String val, String desc) {
        this.val = val;
        this.desc = desc;
    }

    @JsonValue
    public String getVal() {
        return val;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public String getKeyName() {
        return getVal();
    }

}
